#ifndef __PASSWD__H__
#define __PASSWD__H__

#include "sendMsg.h"
#include "mysql_op.h"
#define STR_LEN 16


void get_salt(char* salt);
void sendSaltToClient(int peerfd,char* salt);
int userRegister(int peerfd,char* username);
int loginServer(int peerfd,char* username);
int Exituser(char* username);

#endif